
import Home from '../page/home/index'
import Detail from '../page/detail/index'
import Apps from '../page/apps/apps'

import Ind from '../page/home/ind/ind'
import Classfin from '../page/home/classfin/ind'
import Car from '../page/home/car/ind'
import My from '../page/home/my/ind'

const router=[{
    path:'/home',
    name:'首页',
    component:Home,
    children:[{
        path:'/home/ind',
        name:'首页',
        component:Ind,
    },{
        path:'/home/classfin',
        name:'分类',
        component:Classfin,
    },{
        path:'/home/car',
        name:'购物车',
        component:Car,
    },{
        path:'/home/my',
        name:'我的',
        component:My,
    },]
},{
    path:'/detail',
    name:'详情页',
    component:Detail
},
{
    path:'/apps',
    name:'详情页',
    component:Apps
},{
    from:'/',
    to:'/home/ind'
},]

export default router